package com.android.love.parser;

import com.alibaba.fastjson.JSON;
import com.android.love.util.LogUtil;
import com.android.love.vo.UserInfo;

public class RegisterParser extends BaseParser<UserInfo> {
	private static final String TAG = "RegisterParser";
	@Override
	public UserInfo parserJson(String jsonStr) {
		
		LogUtil.i(TAG, "jsonStr---" + jsonStr);
		UserInfo info=null;
		if(checkResponse(jsonStr)){
			String data = jsonObject.getString("data");
			LogUtil.i(TAG, "data---" + data);
			if(data!=null){
				info=JSON.parseObject(data, UserInfo.class);
			}
		}
		return info;
	}

}
